

export default {
  // 获取菜单
  async getMenuAction({payload,commit}){
    try {
      let res = await getMenuServices(payload)
      if(res.code === 0){
        console.log(res)
        commit('setMenuList',res.data.list)

      }
    }catch (e) {
      console.log(e)
    }

  }
}